<template>
  <div id="app">
    <router-view/>
    <div class="bottom">
      <span class="clear" v-on:click="reset()">中盟科技</span>
    </div>
  </div>
</template>

<script>
export default {
  name: 'App',
  methods: {
    reset(){
      let flag = confirm("确定要重新开始抽奖吗？");
      if(flag){
        localStorage.setItem("name_list", g_name_list);
        localStorage.setItem("one", []);
        localStorage.setItem("two", []);
        localStorage.setItem("three", []);
        localStorage.setItem("four", []);
        localStorage.setItem("five", []);
        alert("重置成功");
      }
    }
  }
}
</script>

<style>
body,img {
	border: 0px;
	padding: 0px;
	margin: 0px;
}
body,html{height:100%;width: 100%;overflow: hidden;}
body{
	background: url(../static/tema.png)  no-repeat;
	background-size: 100% 100%;
}
.bottom{
  width:100%;
  position: absolute;
	bottom: 10%;
  text-align:center;
  font-size: 48px;
  color: #d82626;
  font-weight: bold;
}
.clear{
  cursor: pointer;
}
</style>
